#include <stdio.h>
struct Student
{
    char name[10];
    int age;
    int score;
};

int main()
{
    int a = 10;
    int *pa = &a;

    struct Student tom = {"tom", 21, 100};
    struct Student *ptom = &tom;

    printf("pa=%p ptom=%p\n", pa, ptom);
    printf("pa=%d ptom=%p\n", *pa, *ptom);

    printf("tom.name = %s\n", tom.name);
    printf("*(ptom).name = %s  ptom->name = %s\n", (*ptom).name, ptom->name);
    return 0;
}